<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\CommissionDetail
 *
 * @property int $id 自增id
 * @property int $user_id 积分者
 * @property string|null $order_num 订单号
 * @property int|null $level 等级:1,2,3级
 * @property int $type 类型:1新增，2提现
 * @property float $amount 金额
 * @property int $status 状态:0进行中，1已完成，2失败
 * @property string|null $remark 备注
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\CommissionDetail onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereLevel($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereOrderNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereRemark($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\CommissionDetail withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\CommissionDetail withoutTrashed()
 * @mixin \Eloquent
 * @property int $from_user_id 返成贡献者
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereFromUserId($value)
 */
class CommissionDetail extends Model
{
    protected $table = "commission_detail";
    use SoftDeletes;
}
